package com.filldream.fastboot.base.request.pc.serverInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class AddServerInfoSTO {

    @NotEmpty
    @ApiModelProperty(value = "服务器IP或域名")
    private String serverHost;

    @NotEmpty
    @ApiModelProperty(value = "服务器用户名")
    private String serverUsername;

    @NotEmpty
    @ApiModelProperty(value = "服务器密码")
    private String serverPassword;

    @NotNull
    @ApiModelProperty(value = "服务器端口",example = "22")
    private Integer serverPort;

    @NotEmpty
    @ApiModelProperty(value = "服务器提供商")
    private String cloudProvider;






    @ApiModelProperty(value = "服务器使用项目")
    private String usePurpose;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "服务器操作系统备注")
    private String serverOsInf;

    @ApiModelProperty(value = "云提供商账号")
    private String cloudUsername;

    @ApiModelProperty(value = "云提供商密码")
    private String cloudPassword;

    @ApiModelProperty(value = "服务器key")
    private String serverKey;

    @ApiModelProperty(value = "服务器secret")
    private String serverSecret;

    @ApiModelProperty(value = "服务器状态 0-失效 1-有效")
    private Integer status;

}
